public class Students extends Person {
    private int money;
    public Students(){}

    public Students(String name, String job, int money) {
        super(name, job);
        this.money = money;
    }

    public int getMoney() {

        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }
    public void test(){
        System.out.println("姓名："+getName()+"，职位为："+getJob()+"，学费为："+getMoney());
    }
}
